export default {
  state: {
    userInfo: {},
    token: "",
  },
  getters: {
    getUserInfo(state) {
      return state.userInfo
    }
  },
  mutations: {
    setToken(state, token) {
      state.token = token
    },
    setUser(state, userInfo) {
      state.userInfo = userInfo
    }
  },
  actions: {
    login({commit, state, dispatch}) {

    },
    logout({commit, state, dispatch}) {
      
    }
  }
}